<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>首页</title>
    <link type="text/css" rel="stylesheet" href="__JINJIA__/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="__JINJIA__/css/style.css">
    <style type="text/css">

    </style>
</head>
<body>
<div id="maincontainer">
    <div class="container-fluid">
        <!-- 顶部包括logo和登录 -->
        <div style="width:100%;">
            <a href="{:url('index')}"><img class="img-logo" src="__JINJIA__/images/logo.jpg"></a><span>价高得网络竞价平台&nbsp;&nbsp;&nbsp;&nbsp;服务热线：028-888888</span>
            <p style="display:inline-block; margin-left:60%;">
                <a href="{:url('User/regist')}" style="display: <?php if($myuser['nickname']) echo 'none'; ?>;" class="text-right"><font color="black">注册</font></a>
                <a href="{:url('User/login')}" style="display: <?php if($myuser['nickname']) echo 'none'; ?>;" class="text-right"><font color="black">登录</font></a>
                <?php if($myuser['nickname']) echo '用户：'.$myuser['nickname']; ?>
            </p>
        </div>
        <div id="mynav">
            <nav class="navbar" style="margin-bottom: 0px;">
                <!-- 导航 -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        <li class="<?php if($action=='index') echo 'active'; ?>"><a href="{:url('index')}"><font color="#FFFFFF">网拍首页</font><span class="sr-only"></span></a></li>
                        <li class="<?php if($action=='soon') echo 'active'; ?>"><a href="{:url('soon')}"><font color="#FFFFFF">即将拍卖</font><span class="sr-only"></span></a></li>
                        <li class="<?php if($action=='now') echo 'active'; ?>" ><a href="{:url('now')}"><font color="#FFFFFF">正在拍卖</font><span class="sr-only"></span></a></li>
                        <li class="<?php if($action=='success') echo 'active'; ?>" ><a href="{:url('salesuccess')}"><font color="#FFFFFF">成功拍得</font><span class="sr-only"></span></a></li>
                        <li class="<?php if($action=='auction') echo 'active'; ?>" ><a href="{:url('auction')}"><font color="#FFFFFF">拍卖会</font><span class="sr-only"></span></a></li>
                    </ul>
                    <form class="navbar-form navbar-left">
                        <div class="form-group">
                            <input type="text" id="navSearch" class="form-control" placeholder="输入文字进行搜索">
                            <div id="search">
                                <a href="javascript:void(0);" onclick="navSearch()">
                                    <font size="3" color="#FFFFFF">搜索</font>
                                </a>
                            </div>
                        </div>
                        <!--  <button type="submit" class="btn btn-default">搜索</button> -->
                    </form>
                </div>
            </nav>
        </div>
        <!-- 轮播 -->
        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <ol class="carousel-indicators">
                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                <li data-target="#carousel-example-generic" data-slide-to="2"></li>
            </ol>
            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img src="__JINJIA__/images/timg.jpg" alt="..." style="height: 400px; width:100%;">
                    <div class="carousel-caption">
                    </div>
                </div>
                <div class="item">
                    <img src="__JINJIA__/images/timg.jpg" alt="..." style="height: 400px; width:100%;">
                    <div class="carousel-caption"></div>
                </div>
                <div class="item">
                    <img src="__JINJIA__/images/timg.jpg" alt="..." style="height: 400px; width:100%;">
                    <div class="carousel-caption"></div>
                </div>
            </div>
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>